package kr.hkit.powerjava.chapter12;


class Tv implements RemoteControl{
	@Override
	public void turnOn() {
		System.out.println("TV On");
	}
	@Override
	public void turnOff() {
		System.out.println("TV Off");
	}
}

class Car implements RemoteControl{
	@Override
	public void turnOn() {
		System.out.println("Car On");
	}
	@Override
	public void turnOff() {
		System.out.println("Car Off");
	}
}

public interface RemoteControl {
	public abstract void turnOn();
	void turnOff();
}

